/**
 * 
 */
package com.cms.common;

/**
 * @author zhaoyan
 *
 * 2020年1月9日
 */
public class ResultMsg<T extends Object> {
	
	private Integer errorid;
	private String errorMsg;
	private T t;
	@Override
	public String toString() {
		return "ResultMsg [errorid=" + errorid + ", errorMsg=" + errorMsg + ", t=" + t + "]";
	}
	/**
	 * @param errorid	错误代号
	 * @param errorMsg	错误提示信息
	 * @param t	具体的类型
	 */
	public ResultMsg(Integer errorid, String errorMsg, T t) {
		super();
		this.errorid = errorid;
		this.errorMsg = errorMsg;
		this.t = t;
	}
	public Integer getErrorid() {
		return errorid;
	}
	public void setErrorid(Integer errorid) {
		this.errorid = errorid;
	}
	public String getErrorMsg() {
		return errorMsg;
	}
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	public T getT() {
		return t;
	}
	public void setT(T t) {
		this.t = t;
	}
	/**
	 * 
	 */
	public ResultMsg() {
		super();
	}
	
	
	
	

}
